	<style>
	    	.datagrid-htable, .datagrid-btable, .datagrid-ftable {
	    		width:100%;
	    	}
	    	.datagrid-header-inner{
	    		width: 100%;
	    	}
	    	.panel{

	    	}
	    	.button-blue{
	    		width:200px;
	    		height:38px;
	    		margin:0 auto;
	    		line-height: 38px;
	    		text-align: center;
	    		background-color:#6293BB !important;
	    		margin-right:15px;
	    	}
	    	.button-blue a{
	    		color:#ffffff;
	    		font-size:16px;
	    		display: block;
	    	}
	    	#amend:hover{
	    		background:#47769c;
	    	}
	    </style>
	</head>
		<div class="easyui-layout" data-options="fit:true">
			<div data-options="region:'center'">
				<table class="easyui-datagrid" title="快速申请页面" style="width:100%px;height:100%" id="dg">
				</table>
			</div>
		</div>
	<script>
			var amend = $("#amend");
			/**
			 * 构造datagrid
			 */
			var dg = $('#dg').datagrid({
				singleSelect: true,
	            iconCls: 'icon-save',
	            url: 'apply_url',
	            method: 'get',
	            pagination: true,
	            rowStyler: function(index,row){
	                if (row.attr1 == "已领取"){
	                    return 'background-color:#6293BB;color:#fff;font-weight:bold;';
	                }
	            },
				columns: [
					[{
						field: 'name',
						title: '申请人名',
						width: 60,
						halign: 'center',
						align: 'left',
					}, {
						field: 'phone',
						title: '手机号',
						width: 100,
						halign: 'center',
						align: 'left'
					}, {
						field: 'money',
						title: '申请金额',
						width: 80,
						halign: 'center',
						align: 'left'
					}, {
						field: 'date',
						title: '申请时间',
						halign: 'center',
						align: 'left',
						width: 150
					}, {
						field: 'image_name',
						title: '申请渠道',
						halign: 'center',
						align: 'left',
						width: 200
					}, {
                        field: 'limit',
                        title: '贷款额度',
                        halign: 'center',
                        align: 'left',
                        width: 100
                    }, {
                        field: 'interest',
                        title: '利率',
                        halign: 'center',
                        align: 'left',
                        width: 80
                    }, {
                        field: 'deadline',
                        title: '还款时间',
                        halign: 'center',
                        align: 'left',
                        width: 100
                    }, {
                        field: 'repayment',
                        title: '还款方式',
                        halign: 'center',
                        align: 'left',
                        width: 100
                    }, {
                        field: 'product',
                        title: '产品类型',
                        halign: 'center',
                        align: 'left',
                        width: 100
                    }]
				],
			});
	</script>